package com.fjc.service;

import com.alibaba.fastjson.JSONObject;
import com.fjc.domain.ResultObject;
import com.fjc.domain.SysRole;

public interface SysRoleService {
    ResultObject getRoles(Integer page, Integer limit);

    ResultObject delRole(Integer id);

    ResultObject saveRole(SysRole sysRole);

    ResultObject getRolePermissions(Integer id);

    ResultObject updatePermissionsByRoleId(JSONObject object);
}
